Skip to content

Fiber ucontext support #7226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 11, 2021
Merged

Fiber ucontext support #7226

merged 5 commits into from
Jul 11, 2021

Conversation

trowski
Copy link
Member

@trowski trowski commented Jul 10, 2021

Adds support for fibers on *nix platforms not supported by boost.context, instead using ucontext_t.

I tested on Ubuntu 20.04.2 x86_64 with the added configure flag --disable-fiber-asm (thanks for the help adding the flag @krakjoe).

Also tested on macOS 11.4 x86_64 in the same way, but additionally defining CPPFLAGS="-D_XOPEN_SOURCE" before running configure.

Related bug report: 81238

@krakjoe krakjoe added the Bug label Jul 11, 2021
Copy link
Member

@krakjoe krakjoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget the news entry for the bug fix.

@trowski trowski merged commit 8fd747a into php:master Jul 11, 2021
@trowski trowski deleted the ucontext branch July 11, 2021 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants